<?
//搜索的项目用  equal_name，表示搜索条件 等于输入内容，对应为name的项
//搜索的项目用  like_
//less_
//greater_
//这样去拼凑一个语句出来。多个项的话，就用+）号隔开
?>

    <div class="select-box clearfix layui-form">
        <form action="data_list.php" >

            <div class="layui-form-item">
                <label class="layui-form-label">关键词</label>
                <div class="layui-input-block">
                    <input type="text" name="like_name+remark" placeholder="可搜索姓名" autocomplete="off"
                           class="layui-input" value="<? echo $_REQUEST['like_name+remark']?>" >
                </div>
            </div>





            <div class="layui-form-item">
                <label class="layui-form-label">时间段</label>

                <div class="layui-input-block">
                    <input type="text" name="greater_startdate" placeholder="请输入开始时间" class="layui-input"
                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="float: left; "
                           value="<?if($_REQUEST['greater_startdate']){echo $_REQUEST['greater_startdate'] ;} ?>" >
                    <span style="float: left;margin: 0 4px; line-height: 30px;">-</span>
                    <input type="text" name="less_enddate" placeholder="请输入结束时间" autocomplete="off" class="layui-input"
                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})"  style="float: left; "
                           value="<?if($_REQUEST['less_enddate']){echo $_REQUEST['less_enddate'];} ?>"  >
                </div>
            </div>


            <input type="hidden" name="now_extender" value="<?echo $_REQUEST['now_extender']?>">

            <button class="layui-btn  layui-btn-sm" ><i class="layui-icon">&#xe615;</i> 查找</button>
            <a class="layui-btn white layui-btn-sm" href="data_list.php?now_extender=<?echo $_REQUEST['now_extender']?>" ><i class="layui-icon">&#x1006;</i> 重置</a>




            <br class="clearfloat"/>
        </form>


    </div>

